﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ilanver.Wcf.CoreLibrary.NHibernate
{
    public class ServiceHost : System.ServiceModel.ServiceHost
    {
        public ServiceHost(Type serviceType, Uri[] baseAddresses)
            : base(serviceType, baseAddresses)
        {
        }

        protected override void OnOpening()
        {
            Description.Behaviors.Add(new ServiceBehavior());
            base.OnOpening();
        }
    }
}
